package com.tinyblog.ajax2;
import org.jdom.*;

public class BlogComment {
	private String author = "";
	private String blogimage = "";
	private String commentdate = "";
	private String blogurl = "";
	private String email = "";
	private String commentcontent = "";
	
	public BlogComment() {
		
	}
	public BlogComment(Element element) {
		this.setAuthor(element.getChildText("author"));
		this.setBlogimage(element.getChildText("blogimage"));
		this.setCommentdate(element.getChildText("commentdate"));
		this.setBlogurl(element.getChildText("blogurl"));
		this.setEmail(element.getChildText("email"));
		this.setCommentcontent(element.getChildText("commentcontent"));
	}
	public String getAuthor() {
		return this.author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getBlogimage() {
		return this.blogimage;
	}
	public void setBlogimage(String blogimage) {
		this.blogimage = blogimage;
	}
	public String getCommentdate() {
		return this.commentdate;
	}
	public void setCommentdate(String commentdate) {
		this.commentdate = commentdate;
	}
	public String getBlogurl() {
		return this.blogurl;
	}
	public void setBlogurl(String blogurl) {
		this.blogurl = blogurl;
	}
	public String getEmail() {
		return this.email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getCommentcontent() {
		return this.commentcontent;
	}
	public void setCommentcontent(String commentcontent) {
		this.commentcontent = commentcontent;
	}
}
